/*
* @(#)ListHolidayRecordAction.java
*
* Copyright (c) 2003 DCIVision Ltd
* All rights reserved.
*
* This software is the confidential and proprietary information of DCIVision
* Ltd ("Confidential Information").  You shall not disclose such Confidential
* Information and shall use it only in accordance with the terms of the license
* agreement you entered into with DCIVision Ltd.
*/
package com.dcivision.setup.web;

import com.dcivision.framework.SystemFunctionConstant;
import com.dcivision.framework.web.AbstractListAction;

/**
 * <p>Class Name:       ListHolidayRecordAction.java    </p>
 * <p>Description:      The list action class for ListHolidayRecord.jsp</p>
 *
 *    @author           Weison Liang
 *    @company          DCIVision Limited
 *    @creation date    30/03/2005
 *    @version          $Revision: 1.2 $
 */

public class ListHolidayRecordAction extends AbstractListAction {

  public static final String REVISION = "$Revision: 1.2 $";


  /**
   *  Constructor - Creates a new instance of ListFunctionAccessAction and define the default listName.
   */
  public ListHolidayRecordAction() {
    super();
    this.setListName("listHolidayRecord");
  }

  /**
   * getMajorDAOClassName
   *
   * @return  The class name of the major DAObject will be used in this action.
   */
  public String getMajorDAOClassName() {
    return("com.dcivision.setup.dao.HolidayRecordDAObject");
  }

  /**
   * getFunctionCode
   *
   * @return  The corresponding system function code of action.
   */
  public String getFunctionCode() {
    return(SystemFunctionConstant.SETUP_HOLIDAY_RECORD);
  }
}
